class Circle implements Shape{
    private double radius;

    public Circle(double radius)
    {
        this.radius = radius;
    }
    @Override
    public String toString()
    {
        return "Circle {" +
                "radius"+ radius +
                "}";
    }

    @Override
    public double getArea()
    {
        return 3.14 * radius * radius;
    }

    @Override
    public double getPrimeter()
    {
        return 2 * 3.14 * radius;
    }

    @Override
    public void drawing()
    {
        System.out.println("正在绘制一个半径为" + radius + "的圆圈");
    }
}
